]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
open-search-system: Remove unused parameter
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 20 Jan 2011 13:20:53 +0000 (14:20 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 20 Jan 2011 16:04:37 +0000 (17:04 +0100)
Remove the 'title' parameter from the OpenSearchSystem constructor,
as the prototype's _init() method does not use it.

js/ui/search.js

index f7be6af4715ec8074ad199c47b5a41d08c7a670f..24b411ab688e2cd7194ca7dd83de5d943d0a380a 100644 (file)
@@ -224,8 +224,8 @@ SearchProvider.prototype = {
 };
 Signals.addSignalMethods(SearchProvider.prototype);
 
-function OpenSearchSystem(title) {
-    this._init(title);
+function OpenSearchSystem() {
+    this._init();
 }
 
 OpenSearchSystem.prototype = {